<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();//获得项目的根目录，上下文路径
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>书店</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/books.js"></script>
</head>
<body>
	<div align="center">
		<h2>增加新书</h2>
		<form method="get" action="addBooks.html">
			<table border="1" cellpadding="0"
				cellspacing="0" style="width: 18%" align="center">
				<tr>
					<td>书名：</td>
					<td><input type="text" name="name" class="name" /></td>
				</tr>
				<tr>
					<td><span>作者：</span></td>
					<td><input type="text" name="author" class="author" /></td>
				</tr>
				<tr>
					<td><span>出版社：</span></td>
					<td><input type="text" name="publish" class="publish" /></td>
				</tr>
				<tr>
					<td><span>页数：</span></td>
					<td><input type="text" name="page" class="page" /></td>
				</tr>
				<tr>
					<td><span>价格：</span></td>
					<td><input type="text" name="price" class="price" /></td>
				</tr>
				<tr>
					<td><input type="submit" class="submit" /></td>
					<td>	<input type="reset" class="reset" />
					</td>
				</tr>
			</table>
		</form>
	</div>


</body>
</html>